package com.zhou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("科目类型实体")
@TableName(value = "subject_type")
@Alias("SubjectType")
public class SubjectType {

    @ApiModelProperty(value = "科目ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "科目类型", example = "软考中级")
    private String subject_type;

    @ApiModelProperty(value = "科目名称", example = "软件设计师")
    private String example;

    @ApiModelProperty(value = "考试科目介绍", example = "软考中级软件设计师，上午75下午75同时达到45通过")
    private String information;

    @ApiModelProperty(value = "图片地址", example = "https://yk420.oss-cn-beijing.aliyuncs.com/%E8%BD%AF%E8%80%83.png")
    private String image;

}
